home *** CD-ROM | disk | FTP | other *** search
- Path: eua.ericsson.se!usenet
- From: tobbe@erix.ericsson.se (Torbj|rn T|rnkvist)
- Newsgroups: comp.std.c
- Subject: A question about: #define
- Date: 12 Feb 1996 10:02:11 +0100
- Organization: Ellemtel Telecom Systems Labs, Stockholm, Sweden
- Sender: tobbe@chivas.eua.ericsson.se
- Message-ID: <qug2cgc3xo.fsf@chivas.eua.ericsson.se>
- NNTP-Posting-Host: chivas.eua.ericsson.se
- NNTP-Posting-User: tobbe
- X-Newsreader: Gnus v5.1
-
-
- I'm wondering if the following preprocessor directive is
- permissible in ANSI C ?
-
- #define A #define B
-
- I couldn't see from from my Harbison,Steele, "A C Reference Manual",
- if it is ok or not (gcc -ansi -pedantic accept this but the Sun
- ANSI-C compiler does not...).
-
- Thanx !
-
- /Torbj÷rn , tobbe@erix.ericsson.se
- --
- +-------------------------------------------------+
- | Torbj÷rn T÷rnkvist , tel: +46 8 727 39 28 |
- | email: tobbe@erix.ericsson.se |
- | WWW: http://www.ericsson.se/cslab/erlang |
- | smail: ELLEMTEL , Computer Science Laboratory |
- | Box 1505 , S-125 25 ─lvsj÷ |
- | SWEDEN |
- +-------------------------------------------------+
-
-
-
-
-
-